package com.ruoyi.sales.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.io.Serializable;
import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel;

/**
* 产品规格对象 zc_specifications
*
* @author woo
* @date 2024-04-02
*/
@TableName("zc_specifications")
public class ZcSpecifications implements Serializable
{
private static final long serialVersionUID = 1L;

/** 产品规格id */
@TableId(value = "specifications_id",type = IdType.AUTO)
private Long specificationsId;

/** 产品规格编号 */
@Excel(name = "产品规格编号")
private Long number;

/** 产品幅宽 */
@Excel(name = "产品幅宽")
private Long wide;

/** 产品克重 */
@Excel(name = "产品克重")
private Long weight;

/** 产品状态 */
@Excel(name = "产品状态")
private String status;

/** 逻辑删除 */
private Long del;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


public void setSpecificationsId(Long specificationsId)
{
this.specificationsId = specificationsId;
}

public Long getSpecificationsId()
{
return specificationsId;
}
public void setNumber(Long number)
{
this.number = number;
}

public Long getNumber()
{
return number;
}
public void setWide(Long wide)
{
this.wide = wide;
}

public Long getWide()
{
return wide;
}
public void setWeight(Long weight)
{
this.weight = weight;
}

public Long getWeight()
{
return weight;
}
public void setStatus(String status)
{
this.status = status;
}

public String getStatus()
{
return status;
}
public void setDel(Long del)
{
this.del = del;
}

public Long getDel()
{
return del;
}

    public String getCreateBy()
    {
        return createBy;
    }

    public void setCreateBy(String createBy)
    {
        this.createBy = createBy;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public String getUpdateBy()
    {
        return updateBy;
    }

    public void setUpdateBy(String updateBy)
    {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("specificationsId", getSpecificationsId())
.append("number", getNumber())
.append("wide", getWide())
.append("weight", getWeight())
.append("status", getStatus())
.append("createTime", getCreateTime())
.append("updateTime", getUpdateTime())
.append("createBy", getCreateBy())
.append("updateBy", getUpdateBy())
.append("del", getDel())
.toString();
}
}